package bean;

/**
 * @auther hewenhui
 * @see <a href="hetp://www.codingmaster.com> java </a>
 */
public class Address {
    private int Aid; // 自增主键
    private String province; // 省/自治区/直辖市/特别行政区
    private String city; // 市
    private String area; // 县/区
    private String detailedAddress; // 详细地址


    // Getter and Setter
    public int getAid() {
        return Aid;
    }

    public void setAid(int aid) {
        this.Aid = aid;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area;
    }

    public String getDetailedAddress() {
        return detailedAddress;
    }

    public void setDetailedAddress(String detailedAddress) {
        this.detailedAddress = detailedAddress;
    }

    // toString()

    @Override
    public String toString() {
        return "Address{" +
                "aid=" + Aid +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", area='" + area + '\'' +
                ", detailedAddress='" + detailedAddress + '\'' +
                '}';
    }
}
